package com.zzh.rabbit.sa.extension

import androidx.annotation.ColorInt
import androidx.annotation.ColorRes
import androidx.core.content.ContextCompat
import com.zzh.lib.core.HLibrary

@ColorInt
fun getResColor(@ColorRes colorRes: Int): Int =
    ContextCompat.getColor(HLibrary.getAppContext(), colorRes)